﻿using System.Collections.Generic;
using ClassLibrary1.Models;

namespace ClassLibrary1.Services
{
    public static class ClientService
    {
        public static Client New()
        {
            return new Client();
        }

        public static IEnumerable<Client> GetAll()
        {
            return new[] { GetById(0), GetById(1), GetById(2), GetById(3) };
        }

        public static Client GetById(int id)
        {
            return new Client()
                       {
                           Id = id,
                           FirstName = "FirstName" + id,
                           LastName = "LastName" + id
                       };
        }

        public static void Create(Client entity)
        {
        }

        public static void Update(Client entity)
        {
        }

        public static void Delete(Client entity)
        {
        }
    }
}